package com.example.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mall.domain.PerformanceLogs;
import com.example.mall.dto.PerformanceLogsDto;
import com.example.mall.query.PageDTO;
import com.example.mall.query.PerformanceLogsQuery;

import java.util.List;


/**
 * <p>
 * 性能日志表 服务类
 * </p>
 *
 * @author whale
 * @since 2025-05-16
 */
public interface IPerformanceLogsService extends IService<PerformanceLogs> {

    //分页查询性能日志表信息
    PageDTO<PerformanceLogsDto> queryPage(PerformanceLogsQuery performanceLogsQuery);

    //新增性能日志表
    void insert(PerformanceLogsDto performanceLogsDto);
    //修改性能日志表信息
    void update(PerformanceLogsDto performanceLogsDto);
    //删除性能日志表信息
    void delete(Long performanceId);
    //批量删除性能日志表信息
    void deleteBatch(List<Long> performanceIds);
    //根据id查询性能日志表信息
    PerformanceLogs queryPerformanceLogsById(Long performanceId);

    //查询全部性能日志表信息
    List<PerformanceLogs> queryPerformanceLogsList();
}
